package com.kd.juhaowan.ui.holder;

import android.annotation.SuppressLint;
import android.view.View;

import androidx.annotation.NonNull;

import com.bumptech.glide.Glide;
import com.flyjingfish.shapeimageviewlib.ShapeImageView;
import com.kd.juhaowan.R;
import com.kd.juhaowan.http.model.GameModel;
import com.kd.juhaowan.ui.adapter.BaseViewHolder;
import com.kd.juhaowan.utils.GlideHelper;
import com.kd.juhaowan.utils.LogUtil;


import butterknife.BindView;

public class HotGameViewHolder extends BaseViewHolder {



    @BindView(R.id.item_image)
    ShapeImageView imageView;





    public HotGameViewHolder(@NonNull View itemView) {
        super(itemView);


    }



    @SuppressLint("ResourceType")
    public void setDate(GameModel model){
        GlideHelper.loadGoodsCover(Glide.with(getItemView()),imageView,model.getCoverimage());
        LogUtil.debugLog("star loading"+model.getCoverimage());

    }


}
